package com.sunlake.spring.main.model.auth.mapper;

import com.sunlake.spring.main.model.auth.dto.PermissionDTO;
import generator.domain.Permission;

/**
* @author 罗志
* @description 针对表【permission】的数据库操作Mapper
* @createDate 2025-11-04 11:18:04
* @Entity generator.domain.Permission
*/
public interface PermissionMapper {

    int deleteByPrimaryKey(Long id);
    int insert(Permission record);

    int insertSelective(PermissionDTO record);

    Permission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PermissionDTO record);

    int updateByPrimaryKey(PermissionDTO record);

}
